-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated doc for image and icon shapes #5945
Conversation
|
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
commit: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5945 +/- ##
==========================================
- Coverage 4.64% 4.64% -0.01%
==========================================
Files 374 374
Lines 51964 51965 +1
Branches 613 613
==========================================
Hits 2414 2414
- Misses 49550 49551 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
|
||
```mermaid-example | ||
flowchart TD | ||
A@{ icon: "fa:user", form: "square", label: "User Icon", pos: "t", h: 60 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
```mermaid-example | ||
flowchart TD | ||
A@{ img: "https://example.com/image.png", label: "Image Label", pos: "t", w: 60, h: 60, constraint: "off" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This image URL is invalid and causes an error.
Could we maybe switch to an image already hosted on our site, e.g.
A@{ img: "https://example.com/image.png", label: "Image Label", pos: "t", w: 60, h: 60, constraint: "off" } | |
A@{ img: "https://mermaid.js.org/favicon.svg", label: "Image Label", pos: "t", w: 60, h: 60, constraint: "off" } |
(although, w: 60, h:60
doesn't seem to set the image height correctly, for some reason, due to the label)
📑 Summary
📋 Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.pnpm changeset
and following the prompts. Changesets that add features should beminor
and those that fix bugs should bepatch
. Please prefix changeset messages withfeat:
,fix:
, orchore:
.